﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace DHAA.Models
{
    public class FeedbackModels
    {
        [Required(ErrorMessage = "Feed ID cannot be empty")]
        [DisplayName("Feed ID")]
        public int FeedID { get; set; }

        [Required(ErrorMessage = "Feed's content cannot be empty")]
        [DisplayName("Feed Content")]
        public string FeedContent { get; set; }

        [Required(ErrorMessage = "Customer's ID cannot be empty")]
        [DisplayName("Feeds of Customer")]
        public int CustomerID { get; set; }

        [Required(ErrorMessage = "Product's ID cannot be empty")]
        [DisplayName("Feeds of Product")]
        public int ProductID { get; set; }

        [Required(ErrorMessage = "Feed date cannot be empty")]
        [DisplayName("Feed Date")]
        public DateTime FeedDate { get; set; }

    }
}
